package com.techysky.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;

import lombok.Data;

/**
 * 多媒体实体
 * @author zhangxu
 *
 */
@Entity
@Table(name="sys_multi_media")@Data
public class MultiMedia implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Id@GeneratedValue(generator="system-uuid")
	@GenericGenerator(name="system-uuid",strategy="uuid")
	private String id;
	private String code;
	private String icn;
	private String dmCode;
	private String title;//icn名称
	private String extName;//扩展名
	private String projectId;
	private String url;
	@Transient
	private Integer page;
	@Transient
	private Integer size;
}
